package org.smarthings.things.automation.engine;

import org.smarthings.things.management.ThingProperty;
import org.smarthings.things.management.ThingPropertyCollection;

public class ThingPropertyCollectionFacade {

	private ThingPropertyCollection properties;

	public ThingPropertyCollectionFacade(ThingPropertyCollection properties) {
		this.properties = properties;
	}

	public ThingProperty byType(String type) {
		return properties.getPropertyByType(type);
	}

	public ThingProperty byUUID(String UUID) {
		return properties.getPropertyByUUID(UUID);
	}

}
